home *** CD-ROM | disk | FTP | other *** search
- /* Globals.h */
- /* Created 3/13/4 1:08 PM by AppMaker */
-
- typedef struct {
- /*Standard fields:*/
- TEHandle text;
- ControlHandle vScroll;
- ControlHandle hScroll;
- short fileNum;
- short volNum;
- Boolean dirty;
- StringHandle filename;
- enum {noWindow, WMainWindow} windowKind;
-
- /*Application-specific fields:*/
- /* for MainWindow: */
- Boolean PasswordChecked;
- ControlHandle PasswordHandle;
- TEHandle Field2Handle;
- Boolean AllowRemoteWarmChecked;
- ControlHandle AllowRemoteWarmHandle;
- ControlHandle Slider10Handle;
- } WinInfoRec, *WinInfoPtr;
-
- extern Boolean quittingTime;
- extern EventRecord curEvent;
- extern WindowPtr curWindow;
- extern WinInfoPtr cur;
- extern Boolean inBackground;
-
- /*----------*/
- void InitGlobals (void);
- void SetInfo (WindowPtr window);
- void SetNewInfo (WindowPtr window);
- void DiscardInfo (WindowPtr window);
-